#pragma once

#include "Module.hpp"
#include "Project.hpp"

namespace BuildNG
{
  class InputFilesSet;
  
  class ContentModule : public Module
  {
  public:
    static void init();
    static void shutdown();

    ContentModule();
    ~ContentModule();
    
    virtual void load_from_xml(const Xml::Element &xml);
    virtual void save_to_xml(Xml::Element &xml) const;

    virtual bool build(BuildContext &context,Glib::RefPtr<ErrorListener> error_listener);
    
  private:
    Glib::RefPtr<InputFilesSet> input_files;

    OutputDirType dest_root;
  };
}
